package com.ts.action;

import com.ts.config.Configuration;
import java.io.Serializable;
import java.util.List;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.contexts.Contexts;

/**
 *
 * @author sa
 */
@Name("pictureaction")
@Scope(ScopeType.PAGE)
public class PictureAction implements Serializable {

    public List<String> getImages() {
      return (List<String>) Contexts.getApplicationContext().get(Configuration.IMAGES_HANDLE_NAME);
    }
}
